package casa.depesos.app.com.http.bean;

import android.text.TextUtils;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import casa.depesos.app.com.http.BaseBean;
import casa.depesos.app.com.http.data.Agree;

public class AgreeBean extends BaseBean {

    @SerializedName("dataRecord")
    @Expose
    public Agree data;

    @Override
    public boolean isValid() {
        return super.isValid() && data != null && !TextUtils.isEmpty(data.content);
    }
}
